
<%@ include file="/common/taglibs.jsp"%>
<%@ taglib prefix="sj" uri="/struts-jquery-tags"%>
<%@ taglib prefix="sjg" uri="/struts-jquery-grid-tags"%>  
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>jqGrid Demos</title>

<sj:head  jqueryui="true" jquerytheme="smoothness" scriptPath="template/"/>

</head>


<s:url id="remoteurl" action="grid/gridDemo"/>
 <s:url id="editGrid" action="editGrid"/>
<sjg:grid
        id="gridtable"
        caption="Customer Examples"
        dataType="json"
        href="%{remoteurl}"
        pager="true"
        gridModel="gridModel"
        rowList="10,15,20"
        rowNum="10"
        rownumbers="true"
        cellEdit="true"
        cellurl="%{editGrid}"
        
    >
        <sjg:gridColumn name="id" index="id" title="ID" formatter="integer" sortable="false"/>
        <sjg:gridColumn name="invdate" index="invdate" title="InvDate" sortable="true"/>
        <sjg:gridColumn name="name" index="name" title="Name" sortable="true"  editable="true" edittype="text"/>
        <sjg:gridColumn name="amount" index="amount" title="Amount" formatter="currency" sortable="false"/>
        <sjg:gridColumn name="tax" index="tax" title="Tax" formatter="currency" sortable="false"/>
        <sjg:gridColumn name="total" index="total" title="Total" formatter="currency" sortable="false"/>
              
    </sjg:grid>
